import store from "@/store";

/**
 * @description 判断是否登录
 * @returns {boolean}
 */
export function isLogin(){
    return !!store.getters.user;
}
